<template>
  <div class="search-two-wrapper">
    <van-nav-bar
        title="搜索商品"
        left-text="返回"
        left-arrow
        @click-left="onClickLeft"
    />
    <van-search
        v-model="value"
        shape="round"
        background="#FF6933"
        placeholder="请输入搜索关键词"
    />
    <div class="main">
      <p>sdfasdfsa</p>
      <p>sdfasdfsa</p>
      <p>sdfasdfsa</p>
      <p>sdfasdfsa</p>
      <p>sdfasdfsa</p>
    </div>
  </div>
</template>

<script>
export default {
  name: "searchTwo",
  data() {
    return {
      value: ''
    }
  },
  methods: {
    onClickLeft(){
      this.$router.push({
        name: 'home'
      })
    }
  }
}
</script>

<style scoped>
.main{
  padding:15px;
  font-size:14px;
  line-height: 24px;
}

</style>